import Vue from 'vue'
import Router from 'vue-router'
import DBConnect from '../pages/DBConnect'
import DBToolMenu from '../pages/DBTooolMenu'
import ImportExcelData from '../pages/excel/ImportExcelData'
import ExcelTableList from '../pages/excel/ExcelTableList'
import CreateDBTxt from '../pages/dbTxt/CreateDBTxt'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'DBConnect',
      component: DBConnect
    },{
      path: '/dbToolMenu',
      name: 'DBToolMenu',
      component: DBToolMenu
    },{
      path: '/importExcelData',
      name: 'ImportExcelData',
      component: ImportExcelData
    },{
      path: '/excelTableList',
      name: 'ExcelTableList',
      component: ExcelTableList
    },{
      path: '/createDBTxt',
      name: 'CreateDBTxt',
      component: CreateDBTxt
    }
  ]
})
